package com.itheima.a01Functioalm;

public class a01Funcionaldemo3 {
    public static void main(String[] args) {
         //异常
        int[] arr={1,2,3,4,5,6};

        try {
            System.out.println(arr[10]);
        } catch (IndexOutOfBoundsException e) {
            //进行异常的捕获
           e.printStackTrace();
        }

        System.out.println("看看我执行了吗");
    }
}
